<extend name="./public/operateMain.html" />
<block name="editArea">
<div class="panel panel-primary">
	<div class="panel-heading">
		<span class="glyphicon glyphicon-th-list">&nbsp;</span>
		我的任务
		<span style="padding-left: 30px">
			<a href="#dctsk" class="btn btn-xs btn-default" data-toggle="modal">
				<b>导出</b>
			</a>
		</span>
		<a href="{:U('Main/main')}">
			<span class="glyphicon glyphicon-remove"
				style="float: right; color: white"></span>
		</a>
	</div>
	<div class="editheight">
		<table class="table table-bordered table-hover table-condensed tablenowrap">
			<tr>
				<th data-order-direction='desc' data-order-field='id'>ID</th>
				<th data-order-direction='desc' data-order-field='kssj'>开始时间</th>
				<th data-order-direction='desc' data-order-field='jssj'>结束时间</th>
				<th>任务标题</th>
				<th>关联合同</th>
				<th data-order-direction='desc' data-order-field='zhuangtai'>状态</th>
				<th data-order-direction='desc' data-order-field='uname'>发布人</th>
				<th data-order-direction='desc' data-order-field='addtime'>发布时间</th>
				<th data-order-direction='desc' data-order-field='uuname'>更新人</th>
			</tr>
			<volist id="v" name="list">
			<tr>
				<td>{$v.id}</td>
				<td>{$v.kssj|substr=###,0,10}</td>
				<td>{$v.jssj|substr=###,0,10}</td>
				<td>{$v.title|msubstr=###,0,5}</td>
				<td>{$v.jhname|msubstr=###,0,5}</td>
				<td>{$v.zhuangtai}</td>
				<td>{$v.uname}</td>
				<td>{$v.addtime|substr=###,0,10}</td>
				<td>{$v.uuname}</td>
			</tr>
			</volist>
			</tbody>
		</table>
	</div>
</div>
<!-- <div class="text-center">
	<div class="pages">
		<span>共 {$totalCount} 条 每页 {$numPerPage} 条</span>
	 <a href="{:U('RemindDetail/myTask/pageNum/')}">〈〈上页</a>第{$currentPage}页 <a href="{:U('RemindDetail/myTask')}">下页〉〉</a></div>
</div> -->
     <div class="text-center">{$page}</div>
     <div id="dctsk" class="modal">
	<div class="modal-dialog" style="width: 350px">
		<div class="modal-content">
			<div class="modal-header">
				<button class="close" data-dismiss="modal">&times;</button>
				<h4 class="modal-title">
					<span class="	glyphicon glyphicon-download-alt"></span>
					确定导出
				</h4>
			</div>
			<div class="modal-body">你确定要导出吗？</div>
			<div class="modal-footer">
				<a href="__URL__/outxls/name/myTask" class="btn btn-sm btn-primary">确定</a>
				<button class="btn btn-sm btn-default" data-dismiss="modal">取消</button>
			</div>
		</div>
	</div>
</div>
</block>